/**
 * BootstrapingConcreteMessage.java
 * ************************** 
 * @date Apr 26, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package gossipServices.gossipMessages;

import java.util.Deque;
import java.util.Queue;

import gossipServices.basic.nodeDescriptors.NodeDescriptor;
import messages.GeneralMessage;

/**
 * Description: 
 *
 */
public class BootstrapingConcreteMessage extends GeneralMessage implements
		BootstrapingMessage {
	
	Queue<NodeDescriptor> carryingNodes;

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * @param sender
	 * @param dest
	 * @param body
	 */
	public BootstrapingConcreteMessage(NodeDescriptor sender,
			NodeDescriptor dest, Object body, Queue<NodeDescriptor> nodes) {
		super(sender, dest, body);
		carryingNodes = nodes;
	}

	/**
	 * 
	 */
	public BootstrapingConcreteMessage() { }

	@Override
	public Queue<NodeDescriptor> getCarryingNodeDescriptor() {
		return carryingNodes;
	}

}
